package net.dgg.dggcloud.service.jrcrm.entity.cms;

import net.dgg.dggcloud.service.entity.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @ClassName: UserSetting 用户设置表
 * @Description: 用户相关配置信息
 * @Author: 周潮
 * @Date: 2017年11月02 15:22:26
 * @Version V1.0
 */

@Entity
@Table(name = "cms_user_setting")
public class UserSetting extends BaseEntity{

    @Column(name = "level")
    private String level;//商务级别

    @Column(name = "month_num")
    private Integer monthNum;//月接单量
    @Column(name = "allot_warning")
    private Integer allotWarning;//接单预警
    @Column(name = "is_receive")
    private Integer isReceive;//是否可以接收
    @Column(name = "old_is_receive")
    private Integer oldIsReceive;//上一次是否接单的值，当控制强制不接单时会写入该值

    @Column(name = "vip_num")
    private Integer vipNum;//VIP客户数量
    @Column(name = "allot_vip_num")
    private Integer allotVipNum;  //被分配VIP数量


    public Integer getAllotVipNum() {
        return allotVipNum;
    }

    public void setAllotVipNum(Integer allotVipNum) {
        this.allotVipNum = allotVipNum;
    }

    @Column(name = "vip_qj")
    private Integer vipQj;//分配VIP区间

    @Column(name = "call_num")
    private String callNum;//外呼号码

    @Column(name = "is_force")
    private Integer isForce;//是否强制控制不接单。0否，1昨日值班，2昨日掉库率达到限制.该字段不为0时，是否接单不能手动设置

    @Column(name = "business_type_code")
    private String businessTypeCode;//业务类型

    @Column(name = "policy_num")
    private Integer policyNum;//生产月存单容量
    @Column(name = "flow_user_rank")
    private String flowUserRank; //后台人员级别

    @Column(name = "policy_real_num")
    private Integer policyRealNum; //生产人员实际存单量

    @Column(name = "last_turn")
    private Integer lastTurn; //上次接单轮次
    @Column(name = "a_phone")
    private String aPhone;//aPhone
    @Column(name = "x_phone")
    private String xPhone;//xPhone
    @Column(name = "voip_username")
    private String voipUserName;//电信外呼帐号
    @Column(name = "voip_pwd")
    private String voipPwd;//电信外呼密码
    @Column(name = "show_tel")
    private String showTel;//电信外呼显示号码

    @Column(name = "is_pick_up")
    private Integer isPickUp;//是否可拾回资源

    public String getLevel() {
        return level;
    }

    public void setLevel(String level) {
        this.level = level;
    }

    public Integer getMonthNum() {
        return monthNum;
    }

    public void setMonthNum(Integer monthNum) {
        this.monthNum = monthNum;
    }

    public Integer getIsReceive() {
        return isReceive;
    }

    public void setIsReceive(Integer isReceive) {
        this.isReceive = isReceive;
    }

    public Integer getVipNum() {
        return vipNum;
    }

    public void setVipNum(Integer vipNum) {
        this.vipNum = vipNum;
    }

    public String getCallNum() {
        return callNum;
    }

    public void setCallNum(String callNum) {
        this.callNum = callNum;
    }

    public Integer getAllotWarning() {
        return allotWarning;
    }

    public void setAllotWarning(Integer allotWarning) {
        this.allotWarning = allotWarning;
    }

    public Integer getOldIsReceive() {
        return oldIsReceive;
    }

    public void setOldIsReceive(Integer oldIsReceive) {
        this.oldIsReceive = oldIsReceive;
    }

    public Integer getIsForce() {
        return isForce;
    }

    public void setIsForce(Integer isForce) {
        this.isForce = isForce;
    }

    public Integer getVipQj() {
        return vipQj;
    }

    public void setVipQj(Integer vipQj) {
        this.vipQj = vipQj;
    }

    public String getBusinessTypeCode() {
        return businessTypeCode;
    }

    public void setBusinessTypeCode(String businessTypeCode) {
        this.businessTypeCode = businessTypeCode;
    }

    public Integer getPolicyNum() {
        return policyNum;
    }

    public void setPolicyNum(Integer policyNum) {
        this.policyNum = policyNum;
    }

    public String getFlowUserRank() {
        return flowUserRank;
    }

    public void setFlowUserRank(String flowUserRank) {
        this.flowUserRank = flowUserRank;
    }

    public Integer getPolicyRealNum() {
        return policyRealNum;
    }

    public void setPolicyRealNum(Integer policyRealNum) {
        this.policyRealNum = policyRealNum;
    }


    public Integer getLastTurn() {
        return lastTurn;
    }

    public void setLastTurn(Integer lastTurn) {
        this.lastTurn = lastTurn;
    }

    public String getaPhone() {
        return aPhone;
    }

    public void setaPhone(String aPhone) {
        this.aPhone = aPhone;
    }

    public String getxPhone() {
        return xPhone;
    }

    public void setxPhone(String xPhone) {
        this.xPhone = xPhone;
    }

    public Integer getIsPickUp() {
        return isPickUp;
    }

    public void setIsPickUp(Integer isPickUp) {
        this.isPickUp = isPickUp;
    }

    public String getVoipUserName() {
        return voipUserName;
    }

    public void setVoipUserName(String voipUserName) {
        this.voipUserName = voipUserName;
    }

    public String getVoipPwd() {
        return voipPwd;
    }

    public void setVoipPwd(String voipPwd) {
        this.voipPwd = voipPwd;
    }

    public String getShowTel() {
        return showTel;
    }

    public void setShowTel(String showTel) {
        this.showTel = showTel;
    }
}
